<template>
    <router-view/>
</template>

<script setup>
import useSettingsStore from '@/store/modules/settings'
import {handleThemeStyle} from '@/utils/theme'

onMounted(() => {
    nextTick(() => {
        // 初始化主题样式
        handleThemeStyle(useSettingsStore().theme)
    })
})
</script>
<style>
//所有页面的通用样式
.app-container {
    padding: 20px;
}

</style>
